
import { RouterModule, Routes } from '@angular/router';
import { ModuleWithProviders } from '@angular/core';
import {MonitorCenterComponent} from "../monitor/monitor-center/monitor-center.component";
import {DeviceGisComponent} from "../archives/info/device-gis/device-gis.component";


export const routes = [
  { path: 'monitorcenter', component: MonitorCenterComponent},
  { path: 'singlemonitorunited/:deviceId', loadChildren: '../monitor/single/single-monitor-united/single-monitor-united.module#SingleMonitorUnitedModule'},
  { path: 'singlemonitorunited1/:deviceId', loadChildren: '../monitor/single/single-monitor-united1/single-monitor-united1.module#SingleMonitorUnited1Module'},
  { path: 'singlejgylx/:deviceId', loadChildren: '../monitor/single/single-monitor-jgylx/single-monitor-jgylx.module#SingleMonitorJgylxModule'},
  { path: 'singlemonitormulti/:deviceId', loadChildren: '../monitor/single/single-monitor-multi/single-monitor-multi.module#SingleMonitorMultiModule'},
  { path: 'singlemonitor/:deviceId', loadChildren: '../monitor/single/single-monitor/single-monitor.module#SingleMonitorModule'},
  { path: 'devicegis/:addr', component: DeviceGisComponent },
  { path: 'comparedata/:deviceIds',loadChildren: '../monitor/customize/comparedata/comparedata.module#ComparedataModule' }

];

export const BlankRoute: ModuleWithProviders = RouterModule.forChild(routes);

